// All request Urls

export const urlMap: { [key: string]: string } = {
    // 用户
    // 登录
    "userLogin": "http://ergou666.shop:8000/user/login/",
    // 注册
    "userRegister": "http://ergou666.shop:8000/user/register/",
    //获取账户信息
    "userInfo": "http://ergou666.shop:8000/user/user_info/",
    //退出登录
    "userLogout": "http://ergou666.shop:8000/user/logout/",

    // 图片
    //上传图片
    "postImg": "http://ergou666.shop:8000/img/post_img/",
    // 查看收藏夹图片 
    "getImg": "http://ergou666.shop:8000/img/get_img/",
    //取消收藏
    "delImg":"http://ergou666.shop:8000/img/del_img/",

    // 收藏夹操作
    // 编辑收藏夹/上传封面
    "editFavorite": "http://ergou666.shop:8000/img/edit_favorite/",
    // 查看收藏夹
    "getFavorite": "http://ergou666.shop:8000/img/get_favorite/",
    // 删除收藏夹
    "delFavorite": "http://ergou666.shop:8000/img/del_favorite/",
    // 添加收藏夹
    "addFavorite": "http://ergou666.shop:8000/img/add_favorite/",

    //新图片
    // 补全搜索词
    "kwComplete": "http://ergou666.shop:8000/img/kw_complete/",
    //爬取花瓣图片
    "newImg": "http://ergou666.shop:8000/img/new_img/",
    //收藏新图片
    "collectImg": "http://ergou666.shop:8000/img/collect_img/",

};
